package com.yl.service.impl;

import com.yl.model.TUser;
import com.yl.dao.TUserMapper;
import com.yl.service.TUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lfs
 * @since 2020-11-30
 */
@Service
public class TUserServiceImpl extends ServiceImpl<TUserMapper, TUser> implements TUserService {

    @Autowired
    TUserMapper mapper;
    public TUser findUserByOpenId(String openId) {
        return mapper.findUserByOpenId(openId);
    }
}
